package com.pro.service.imple;

import com.pro.mapper.JsUserOrderShippedMapper;
import com.pro.pojo.JsUserOrder;
import com.pro.service.JsUserOrderShippedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsUserOrderShippedServiceImple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2021/11/10 上午 9:03
 * @Author: WYH
 */
@Service
public class JsUserOrderShippedServiceImple implements JsUserOrderShippedService {

    @Autowired(required = false)
    private JsUserOrderShippedMapper jsUserOrderShippedMapper;

    @Override
    public List<JsUserOrder> getAllorder(String orderPaymentChannel, String orderSource) {
        List<JsUserOrder> allorder = jsUserOrderShippedMapper.getAllorder(orderPaymentChannel,orderSource);
        return allorder;
    }

    @Override
    public int count(String orderPaymentChannel, String orderSource) {
        int count = jsUserOrderShippedMapper.count(orderPaymentChannel, orderSource);
        return count;
    }

}
